package com.xteam.youin_supplier.model;

/**
 * Created by Curry on 2015-12-28.
 * 车辆加油详情
 */
public class TruckDetail {

    /**
     * flag : true
     * data : {"car_num":"京A8888","time":"2015-12-28 18:39:36","price":"5元/L","location":"承德市北路","name":"河北运输第一小队","supplier_name":"河北承德市供应商","pay_way":"预付-账户余额","qty":"6.00L","total_price":"26.4元"}
     * msg : 成功
     */
    private boolean flag;
    private DataEntity data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * car_num : 京A8888
         * time : 2015-12-28 18:39:36
         * price : 5元/L
         * location : 承德市北路
         * name : 河北运输第一小队
         * supplier_name : 河北承德市供应商
         * pay_way : 预付-账户余额
         * qty : 6.00L
         * total_price : 26.4元
         */
        private String car_num;
        private String time;
        private String price;
        private String location;
        private String name;
        private String supplier_name;
        private String pay_way;
        private String qty;
        private String total_price;

        public void setCar_num(String car_num) {
            this.car_num = car_num;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setSupplier_name(String supplier_name) {
            this.supplier_name = supplier_name;
        }

        public void setPay_way(String pay_way) {
            this.pay_way = pay_way;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getCar_num() {
            return car_num;
        }

        public String getTime() {
            return time;
        }

        public String getPrice() {
            return price;
        }

        public String getLocation() {
            return location;
        }

        public String getName() {
            return name;
        }

        public String getSupplier_name() {
            return supplier_name;
        }

        public String getPay_way() {
            return pay_way;
        }

        public String getQty() {
            return qty;
        }

        public String getTotal_price() {
            return total_price;
        }
    }
}
